<div class="common_nav">
    <div class="nav_content">
        @if (Request::user()->isReviewer())
            <a-menu :defaultSelectedKeys="defaultSelectedKeys" :defaultOpenKeys="['2']" mode="inline">
                <a-menu-item key="1" @click="defaultSelectedKeys = ['1']">
                    <a href="/review/review">
                        评审项目</a>
                </a-menu-item>
                <a-sub-menu key="2" v-if="false">
                    <span slot="title">我的小组</span>
                    @foreach($asideGroupsInfo as $itemIndex => $item)
                    <a-menu-item key="{{$item->id}}" @click="defaultSelectedKeys = ['2-'+ {{$itemIndex+1}}]">
                        <a :href="'/review/my-group?group_id='+{{ $item->id }}">
                            {{ $item->group_name }}</a>
                    </a-menu-item>
                    @endforeach
                </a-sub-menu>
            </a-menu>
        @endif
    </div>
</div>